import showAvatarMain from './main';

const showAvatar = {
  install(Vue) {
    Vue.component(showAvatarMain.name, showAvatarMain);
  }
};

if (typeof window !== 'undefined' && window.Vue) {
  window.showAvatar = showAvatar;
  Vue.use(showAvatar);
}

export default showAvatar;
